export default {
  _id: '6704f3d329cf52a3ddd4e244',
  title: 'uiu',
  name: 'uiu',
  path: 'uiu',
  type: 'resource',
  display: 'form',
  components: [
    {
      label: 'Edit Grid',
      tableView: false,
      validateWhenHidden: false,
      rowDrafts: false,
      key: 'editGrid',
      type: 'editgrid',
      displayAsTable: false,
      input: true,
      components: [
        {
          label: 'Columns',
          columns: [
            {
              components: [
                {
                  label: 'Text Field',
                  applyMaskOn: 'change',
                  tableView: true,
                  validate: {
                    required: true,
                  },
                  validateWhenHidden: false,
                  key: 'textField',
                  type: 'textfield',
                  input: true,
                },
              ],
              width: 6,
              offset: 0,
              push: 0,
              pull: 0,
              size: 'md',
              currentWidth: 6,
            },
            {
              components: [],
              width: 6,
              offset: 0,
              push: 0,
              pull: 0,
              size: 'md',
              currentWidth: 6,
            },
          ],
          key: 'columns',
          type: 'columns',
          input: false,
          tableView: false,
        },
      ],
    },
    {
      type: 'button',
      label: 'Submit',
      key: 'submit',
      disableOnInvalid: true,
      input: true,
      tableView: false,
    },
  ],
  project: '66f66c655879bf08113cf465',
};
